﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="Contactus.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%">
    <tr>
        <td style="width: 144px">&nbsp;</td>
        <td style="width: 179px">&nbsp;</td>
        <td style="width: 241px">&nbsp;</td>
    </tr>
    <tr>
        <td style="width: 144px">First Name:</td>
        <td style="width: 179px">
            <asp:TextBox ID="TextBoxFname" runat="server" Width="194px"></asp:TextBox>
        </td>
        <td style="width: 241px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxFname" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td style="width: 144px">Last Name:</td>
        <td style="width: 179px">
            <asp:TextBox ID="TextBoxLname" runat="server" Width="194px"></asp:TextBox>
        </td>
        <td style="width: 241px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxLname" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td style="width: 144px">Company Name:</td>
        <td style="width: 179px">
            <asp:TextBox ID="TextBoxCompName" runat="server" Width="194px"></asp:TextBox>
        </td>
        <td style="width: 241px">&nbsp;</td>
    </tr>
    <tr>
        <td style="width: 144px">City:</td>
        <td style="width: 179px">
            <asp:TextBox ID="TextBoxCity" runat="server" Width="194px"></asp:TextBox>
        </td>
        <td style="width: 241px">&nbsp;</td>
    </tr>
    <tr>
        <td style="width: 144px">Email Address:</td>
        <td style="width: 179px">
            <asp:TextBox ID="TextBoxContEmail" runat="server" Width="194px" TextMode="Email"></asp:TextBox>
        </td>
        <td style="width: 241px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxContEmail" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxContEmail" ErrorMessage="Please enter a valid Email Address" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td style="width: 144px">Telephone:</td>
        <td style="width: 179px">
            <asp:TextBox ID="TextBoxContTele" runat="server" Width="194px" TextMode="Phone"></asp:TextBox>
        </td>
        <td style="width: 241px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxContTele" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td style="width: 144px; height: 53px">Comments:</td>
        <td style="height: 53px; width: 179px">
            <asp:TextBox ID="TextBoxComment" runat="server" Height="62px" Width="194px" TextMode="MultiLine"></asp:TextBox>
        </td>
        <td style="height: 53px; width: 241px;"></td>
    </tr>
    <tr>
        <td style="width: 144px">&nbsp;</td>
        <td style="width: 179px">
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Submit" Width="60px" />
            <br />
            <br />
            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Reset" Width="60px" />
        </td>
        <td style="width: 241px">&nbsp;</td>
    </tr>
</table>
</asp:Content>

